package com.example.demo.ResBean.constant;

public class ResCode {
    public static int Success = 2000;   //成功
    public static String Success_str = "success";

    public static int User_NO_Find = 1001;//未找到
    public static String User_NO_Find_str = "未找到";

    public static int Error = 5000;
    public static String Error_str = "数据错误";

    public static int Error_DATA_BINDING = 5001;
    public static String Error_DATA_BINDING_str = "数据绑定异常";

    public static int Param_ilegal_code = 3000;

    public static String Param_ilegal_str = "请求参数错误";

    public static int User_Phone_HasBeen_Resgister = 1002;

    public static String User_Phone_HasBeen_Resgister_str = "手机已被注册";

    public static int User_Phone_Error = 1003;

    public static String User_Phone_Error_str = "手机号码错误";

    public static int User_NO_void = 1004;//数据为空
    public static String User_NO_void_str = "数据为空";
    //    public static  int User_Resgister_Fail = 1003;
//
//    public static String User_Resgister_Fail_str ="注册失败";
//
//    public static int User_Binding_information_ask=1004;
//
//    public static String User_Binding_information_ask_str="邀请码已被绑定";
//
    public static int Roles_Record_Fail = 1005;

    public static String Roles_Record_Fail_str = "角色数和记录数不同";

    public static int User_whether_use_Fail = 1006;

    public static String User_whether_use_Fail_str = "该邀请码已经失效";

    public static int User_company_name_Fail = 1007;

    public static String User_company_name_Fail_str = "未查询到该公司";

    public static int User_Binding_company_name_Fail = 1008;

    public static String User_Binding_company_name_Fail_str = "公司绑定失败";

    public static int User_sign_in_Fail = 1010;

    public static String User_sign_in_Fail_str = "账号密码错误";

    public static int Roles_Record_number_Fail = 1011;

    public static String Roles_Record_number_Fail_str = "记录数为0";

    public static int User_sign_in_account_number_Fail = 1012;

    public static String User_sign_in_account_number_Fail_str = "没有该账号";

    public static int User_post_roles_id = 1103;

    public static String User_post_roles_id_str = "员工id为空";

    public static int Equipment_insert_Success = 2000;

    public static String Equipment_insert_Success_str = "插入成功";

//    public static int Equipment_insert_Fail=2001;
//
//    public static String Equipment_insert_Fail_str="插入未成功";

    public static int Equipment_delete_Success = 2100;

    public static String Equipment_delete_Success_str = "删除成功";

    public static int DeviceInformation_ilegal_code = 3001;

    public static String DeviceInformation_ilegal_code_str = "设备信息错误";

    public static int DeviceName_ilegal_code = 3002;

    public static String DeviceName_ilegal_code_str = "设备名为空";

    public static int Project_enter_Fail = 4002;

    public static String Project_enter_Fail_str = "新建项目失败";

    public static int Project_enter_Success = 4001;

    public static String Project_enter_Success_str = "新建项目成功";


    public static int equipment_nonexistent_Fail = 5002;

    public static String equipment_nonexistent_Fail_str = "该设备不存在";

    public static int Lend_equipment_status_Fail = 5003;

    public static String Lend_equipment_status_Fail_str = "该设备不具备借阅条件";


    public static int Repair_insert_code_Fail = 5004;

    public static String Repair_insert_code_Fail_str = "维修记录插入失败";

    public static int Repair_insert_approval_Fail = 5005;

    public static String Repair_insert_approval_Fail_str = "维修申请插入失败";

    public static int Scrap_insert_code_Fail = 5006;

    public static String Scrap_insert_code_Fail_str = "报废记录插入失败";

    public static int Scrap_insert_approval_Fail = 5007;

    public static String Scrap_insert_approval_Fail_str = "报废申请插入失败";


//    public static String Project_select_Success_str="返回项目成功";
//
//    public static int Project_select_Success=4010;
//
//    public static String Project_select_Fail_str="返回项目失败";
//
//    public static int Project_select_Fail=4011;
//
//    public static  int Lend_select_Fail=5005;

//    public static String Lend_select_Fail_str="查询借阅记录错误";

    public static int Project_insert_Fail = 4001;

    public static String Project_insert_Fail_str = "新建项目失败";

    public static int Product_model_Fail = 9001;

    public static String Product_model_Fail_str = "product_id重复";

    public static int Approval_insert_Fail = 8001;

    public static String Approval_insert_Fail_str = "领取记录为生成";

    public static int Project_projectId_isNotNULL = 4010;

    public static String Project_projectId_isNotNULL_str = "该设备已被绑定项目";

    public static int Project_not_allow = 4011;

    public static String Project_not_allow_str = "项目未通过审核";

    public static int Project_device_clim_over = 4012;

    public static String Project_device_clim_over_str = "设备已经被领完";

    public static int Project_projectId_not_update = 4013;

    public static String Project_projectId_not_update_str = "设备所属项目更新失败";

    public static int Project_rolesId_notHave = 4100;

    public static String Project_rolesId_notHave_str = "该用户无项目";

    public static int Project_not_message = 4002;

    public static String Project_not_message_str = "该项目id无信息";

    public static int Product_set_fail = 4003;

    public static String Product_set_fail_str = "product插入失败";

    public static int Project_NotFound = 4004;

    public static String Project_NotFound_str = "无该项目或该人员";

    public static int Project_NotFound_Product = 4005;

    public static String Project_NotFound_Product_str = "该项目中无该产品";

    public static int Project_notMuch_Product = 4006;

    public static String Project_notMuch_Product_str = "项目中产品数量不一致";

}
